module Main where
import Salsa.Interpreter
import System.Environment

main :: IO ()
main = do args <- getArgs
          case length args of
            0 -> runRepl
            1 -> runFile $ args !! 0
            otherwise -> putStrLn "Tito expects zero or one arguments."